package org.example.server.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.dto.OrgInfoDTO;
import org.example.entity.OrgInfo;

@Mapper
public interface OrgInfoMapper {

    @Select("select * from `jd-registration`.t_org_info where id=#{id}")
    OrgInfo selectById(int id);

    OrgInfo selectByNo(String hospitalNo);
}
